﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SL.Library.Framework
{
    public interface IPlugins
    {
        Result InstallPlugin(string packPath);

        Result UpdatePlugin(string name, string packPath);

        Result RemovePlugin(string name);

        Result GetPlguins();

        Result GetPlugin(Guid identity);

        Result InitializePlugins();

        void DisablePluginService(string pluginName, PluginServiceType serviceType);

        Result EnablePluginService(string pluginName, PluginServiceType serviceType);

    }
}
